package com.xuanyuan.dao;

import java.util.List;

import com.xuanyuan.model.Departments;
import com.xuanyuan.util.PageInfo;

public interface SendMessageDao {
	/**
	 * 
	 * @param pageInfo
	 * @return
	 */
      public List<Departments> getUsers(PageInfo pageInfo);
      
      
      /**
       * 
       * @param department
       * @param pageInfo
       * @return
       */
      public List<Departments> getUsersByDepartment(String department, PageInfo pageInfo);
      
      public List<Departments> getDapartmentsById(Integer departmentsId, PageInfo pageInfo);
      
}
